let footerHtmlstr = `
<div  class="footerBox">
    <p>深圳市零刻云科技有限公司</p>
    <p>粤ICP备2023003758号-1</p>
    <p class="center">粤公网安备 44030902003775号</p>
    <p><a href="/index.php/Index/system?type=1">{{language.yszc}}</a></p>
    <p><a href="/index.php/Index/system?type=2">{{language.tkxz}}</a></p>
    <p><a href="/index.php/Index/support">{{language.support}}</a>
    </p>
</div>
`
// my-component.js
Vue.component('my-footer', {
  props: ['page-id'],
  template: footerHtmlstr,
  data(){
    return{
      list:[
        {id:1,text:'MAX N',href:''},
        {id:2,text:'MAX PRO'},
        {id:3,text:'资质认证',href:'qualification.html'},
        {id:4,text:'关于我们',href:'about.html'},
        {id:5,text:'支持',href:'support.html'},
      ],
      actived:0,
      fit:'fill',
      lang:Number(localStorage.getItem('langType')),
    }
  },
  mounted(){
  },
  computed:{

    language(){
      console.log(LANG[this.lang]);
      return LANG[this.lang]
    }
  },
  methods:{
  }
});

// 创建style元素
const footerStyle = document.createElement('style');
 
// 设置style内容
footerStyle.innerHTML = `
  .footerBox{
    width:100%;height:132px;color:#e6e6e6;font-size:12px;background:#494949;display:flex;align-items: center;
    justify-content: center;
    p{margin:32px;
      a{    color: inherit;text-decoration-line:none;}
    }
  }
`;
 
// 将style元素添加到head中
document.head.appendChild(footerStyle);